//
//  MBProgressHUD+MSCustom.h
//  MSJD
//
//  Created by 箭军刘 on 2018/10/10.
//  Copyright © 2018年 xiangbo. All rights reserved.
//

#import "MBProgressHUD.h"

NS_ASSUME_NONNULL_BEGIN

@interface MBProgressHUD (MSCustom)

/** 将目标内容展示在默认的HUD上，并将HUD添加在目标view上 */
+ (void)showDefaultHUDWithText:(NSString *)text toView:(UIView *)toView;

/** toast提示 */
+ (void)showToastWithMessage:(NSString *)message toView:(UIView *)toView;
/* 展示toast提示，并支持自定义隐藏时间 */
+ (void)showToastWithMessage:(NSString *)message toView:(UIView *)toView hideDelay:(CGFloat)hideDelay;


+ (MBProgressHUD *)showMessage:(NSString *)message;
+ (MBProgressHUD *)showMessage:(NSString *)message toView:(UIView *)view;

+ (void)hideHUD;
+ (void)hideHUDForView:(UIView *)view;

@end

NS_ASSUME_NONNULL_END
